package crm;
/**
 * 用户属性结构，javaBean封装
 * @author ZHUAN4
 *
 */
public class Customer {
	static int count=10;
	private int id;
	private String name;
	private String sex;
	private String birthday;
	private String address;
	private String call;
	private Customer frontCustomer;
	private Customer nextCustomer;
	
	
	public Customer(int id, String name, String sex, String birthday,
			String address, String call, Customer frontCustomer,
			Customer nextCustomer) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.address = address;
		this.call = call;
		this.frontCustomer = frontCustomer;
		this.nextCustomer = nextCustomer;
	}

	public Customer(int id, String name, String sex, String birthday,
			String address, String call) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.address = address;
		this.call = call;
	}

	
	public Customer() {
		super();
	}

	public int getId() {
		return id;
	}

	/**
	 * id can not modified
	 * @return
	 */
	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCall() {
		return call;
	}

	public void setCall(String call) {
		this.call = call;
	}

	public Customer getFrontCustomer() {
		return frontCustomer;
	}

	public void setFrontCustomer(Customer frontCustomer) {
		this.frontCustomer = frontCustomer;
	}

	public Customer getNextCustomer() {
		return nextCustomer;
	}

	public void setNextCustomer(Customer nextCustomer) {
		this.nextCustomer = nextCustomer;
	}


	
	
	
	
	
}
